﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

public class AndroidEasySDKImp : SDKImpBase
{
    //AndroidJavaObject ao=null;
    AndroidJavaClass jc = null;
    public override void CallFunction(string data)
    {
        //if (ao == null)
        //{

        //    //AndroidJavaClass ac = new AndroidJavaClass("com.unity3d.player.UnityPlayer");
        //    //ao = ac.GetStatic<AndroidJavaObject>("currentActivity");
        //}

        if (jc == null)
        {
             jc = new AndroidJavaClass("SdkInterface.SdkInterface");
        }
        jc.CallStatic("UnityRequestFunction", data);

    }
}

